/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mirac
 * Date: 2025-07-21
 * Time: 13:44
 */
public class Main_5 {
    public static void main(String[] args) {
        User user = new User();
        String name = "abb";
        String password = "1231";
        try {
            user.func(name,password);
        }catch (NameException e) {
            e.printStackTrace();
        }catch (PasswordException e) {
            e.printStackTrace();
        }
    }
}
